package com.lc.user.express.model;

/**
 * Created by Administrator on 2016/2/2.
 */
public class BankModel{
    private String pic;
    private String name;
    private String id;
    private boolean isChoosed = false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public boolean isChoosed() {
        return isChoosed;
    }

    public void setIsChoosed(boolean isChoosed) {
        this.isChoosed = isChoosed;
    }

//    @Override
//    public BankModel parseJSON(String response) throws JSONException {
//
//        // TODO Auto-generated method stub
//        BankModel model = new BankModel();
//        try {
//            JSONObjectEx jo = new JSONObjectEx(response);
//            model.setId(jo.optString("id"));
//            model.setName(jo.optString("name"));
//            model.setPic(jo.optString("bank_logo"));
//
//        } catch (Exception e) {
//            // TODO: handle exception
//            throw new JSONException(e.getMessage());
//        }
//
//        return model;
//    }
}
